Release 10.1A: OpenEdge Application Server:
Administration
Enabling Web services per user and per application
When you install the WSA, you can choose to enable security. In this case, security is preset to allow any user authenticated and authorized by the JSE to access to any deployed Web service application. You can, however, restrict access to Web service applications per user and per application. The technique involves creating a WSA instance for each unique user community, setting the security of each WSA instance to restrict access to a particular user community, and deploying to each WSA instance Web services only for its user community.
For example, suppose the Acme Company wants to deploy as Web services the applications described in Table 7–11.
![]()
To enable Web services per user and per application:
- Set up the WSA instances, security-constraint URL-patterns, and role names shown in Table 7–12.
- In the properties of each WSA instance, require user authorization to Web service applications:
- If the WSA is local, using Progress Explorer, select the WSA instance, right-click, and select Properties. Select Security to display the Security panel. In the Security panel, add user authorization to Web services.
- If the WSA instance is remote, using a text editor, edit the
ubroker.propertiesfile. Add user authorization to Web services.- In the JSE’s user database, assign each employee the appropriate role, as shown in Table 7–13.
The resulting
web.xmlfile appears as shown in Table 7–14.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |